package com.crane.oss.common.bean.request;


import java.io.Serializable;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;


/**
 *
 * @author tyh
 * @email 263998959@qq.com
 * @date 2020年11月10日 00时56分13秒
 */
@ApiModel(description = "修改参数")

@Getter
@Setter
@ToString

public class UpdateAppVersionReq implements Serializable {

	/**
	 *
	 */
	private static final long serialVersionUID = -5114793457422064218L;

	@ApiModelProperty(value = "", name = "id")
	@NotNull(message="id不能为空")
	private Long id;

	@ApiModelProperty(value = "应用名称(YOULIAO, TASKER)", name = "name")
	@Size(min=1 ,max =255,message="name长度不在范围内")
	private String name;

	@ApiModelProperty(value = "系统: android ios", name = "system")
	@Size(min=1 ,max =255,message="system长度不在范围内")
	private String system;

	@ApiModelProperty(value = "版本号(如1.0.0)", name = "version")
	@Size(min=1 ,max =255,message="version长度不在范围内")
	private String version;

	@ApiModelProperty(value = "版本内容", name = "content")
	@Size(max =1024,message="content长度超长")
	private String content;

	@ApiModelProperty(value = "版本大小(KB)", name = "size")
	@Size(max =255,message="size长度超长")
	private String size;

	@ApiModelProperty(value = "最高兼容版本", name = "compatible")
	@Size(max =255,message="compatible长度超长")
	private String compatible;




}
